package com.hoyo.domain;

import java.sql.Timestamp;

import com.hoyo.common.PageInfo;

public class Comment {
	
	private int id;
	
	private int movieId;
	
	private int userId;
	
	private String icon;
	
	private String nickname;
	
	private int commentId;
	
	private int replyUserId;
	
	private String replyUserNickname;
	
	private String comment;
	
	private int floorNumber;
	
	private int likePoints;
	
	private Timestamp createTime;
	
	private int total;
	
	private String catalogName;
	
	private String catalogPoster;
	
	public Comment() {
	}
	
	public Comment(int movieId, int userId, String comment) {
		this.movieId = movieId;
		this.userId = userId;
		this.comment = comment;
	}

	private PageInfo<Comment> pageInfo;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getMovieId() {
		return movieId;
	}

	public void setMovieId(int movieId) {
		this.movieId = movieId;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public int getFloorNumber() {
		return floorNumber;
	}

	public void setFloorNumber(int floorNumber) {
		this.floorNumber = floorNumber;
	}

	public int getLikePoints() {
		return likePoints;
	}

	public void setLikePoints(int likkePoints) {
		this.likePoints = likkePoints;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	
	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public int getCommentId() {
		return commentId;
	}

	public void setCommentId(int commentId) {
		this.commentId = commentId;
	}

	public int getReplyUserId() {
		return replyUserId;
	}

	public void setReplyUserId(int replyUserId) {
		this.replyUserId = replyUserId;
	}

	public String getReplyUserNickname() {
		return replyUserNickname;
	}

	public void setReplyUserNickname(String replyUserNickname) {
		this.replyUserNickname = replyUserNickname;
	}

	public PageInfo<Comment> getPageInfo() {
		return pageInfo;
	}

	public void setPageInfo(PageInfo<Comment> replyComments) {
		this.pageInfo = replyComments;
	}

	public int getTotal() {
		return total;
	}
	
	public void setTotal(int total) {
		this.total = total;
	}

	public String getCatalogName() {
		return catalogName;
	}

	public void setCatalogName(String catalogName) {
		this.catalogName = catalogName;
	}

	public String getCatalogPoster() {
		return catalogPoster;
	}

	public void setCatalogPoster(String catalogPoster) {
		this.catalogPoster = catalogPoster;
	}

	@Override
	public String toString() {
		return "Comment [id=" + id + ", movieId=" + movieId + ", userId=" + userId + ", nickname=" + nickname
				+ ", commentId=" + commentId + ", replyUserId=" + replyUserId + ", replyUserNickname="
				+ replyUserNickname + ", comment=" + comment + ", floorNumber=" + floorNumber + ", likePoints="
				+ likePoints + ", createTime=" + createTime + "]";
	}
}
